#include <game/server/gamecontroller.hpp>

// you can subclass GAMECONTROLLER_CTF, GAMECONTROLLER_TDM etc if you want
// todo a modification with their base as well.
class GAMECONTROLLER_FR : public GAMECONTROLLER
{
public:
	class REACH *reach;
	GAMECONTROLLER_FR();
	virtual bool on_entity(int index, vec2 pos);
	virtual void tick();
	virtual int on_character_death(class CHARACTER *victim, class PLAYER *killer, int weapon);
	// add more virtual functions here if you wish
};
class REACH : public ENTITY
{
public:
	vec2 pos;
	REACH(vec2 _pos);
        static const int phys_size = 28;
	bool reached;
};
